<template>
  <div></div>
</template>

<script>
import emitter from './utils/eventbus'
import { SOME_EVENT } from './utils/constants'
export default {
  created() {
    emitter.on(SOME_EVENT, (info) => {
      console.log(SOME_EVENT + ' listener', info)
    })

    emitter.on('*', (type, info) => {
      console.log('* listener:', type, info)
    })
  }
}
</script>

<style scoped></style>
